package Main;

public class Booking 
{
	public String FirstName, LastName;
	public TheaterEvent Event;
	public int SeatNumber;
	public Booking(TheaterEvent e, String first, String last, int seat/*, String event, String date, String time, int hallId*/)
	{
		Event=e;
		FirstName=new String(first);
		LastName=new String(last);
		/*EventName=new String(event);
		Date=new String(date);
		Time=new String(time);
		HallId=hallId;*/
		SeatNumber=seat;
	}
	/*public Booking(Booking b, int seatNumber)
	{
		this(b.FirstName, b.LastName, b.EventName, b.Date, b.Time, b.HallId);
		SeatNumber=seatNumber;
	}*/
	public String toString()
	{
		String str="";
		//str+=Event;
		str+="Seat: "+SeatNumber+" "+FirstName+" "+LastName;
		//str+=EventName+"\n";
		//str+=Date+" "+Time+"\n";
		//str+="Hall: "+HallId+" Seat: "+SeatNumber+"\n";
		return str;
	}
}
